/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sporejava;

/**
 *
 * @author antonin
 */
public class Vegetal extends EtreVivant {

    private int zoneReproduction;

    public Vegetal(int zoneReproduction, String nom, String baseAdn, int identifiant, String ADN, int[] position) {
        super(nom, baseAdn, identifiant, ADN, position);
        this.zoneReproduction = zoneReproduction;
    }

    
    public void setZoneReproduction(int zoneReproduction) {
        this.zoneReproduction = zoneReproduction;
    }

    public int getZoneReproduction() {
        return zoneReproduction;
    }

    @Override
    public EtreVivant reproduction(EtreVivant e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
     public void afficherAnimal(){
        this.afficherEtreVivant();
        System.out.println();
    }
}
